cd QCommon
g++ -c *.cpp
ar crv libqcommon.a *.o
cd ../QServer
g++ -c *.cpp
g++ -o QServer *.o -I../QCommon -L../QCommon -lqcommon -lpthread
rm *.o
chmod a+x QServer
cp QServer ../LanQServer
cd ../QClient
g++ -c *.cpp
g++ -o QClient *.o -I../QCommon -L../QCommon -lqcommon -lpthread
rm *.o
chmod a+x QClient
cp QClient ../LanQClient
